ComponentOne Xamarin.Android
LoadAsync Method (C1WrapCollectionView<S,T>)


C1.CollectionView Assembly > C1.CollectionView Namespace > C1WrapCollectionView<S,T> Class : LoadAsync Method
The starting index, if not specified this will be 0.
The starting index, if not specified this will be Count.
Load the items between the specified indexes.
Syntax
'Declaration
 
<AsyncStateMachineAttribute(C1.CollectionView.C1WrapCollectionView`2/d__66)> 
Public Overridable Function LoadAsync( _ 
   Optional ByVal fromIndex As Nullable(Of Integer), _ 
   Optional ByVal toIndex As Nullable(Of Integer), _ 
   Optional ByVal cancellationToken As CancellationToken _ 
) As Task
'Usage
 
Dim instance As C1WrapCollectionView(Of S,T)
Dim fromIndex As Nullable(Of Integer)
Dim toIndex As Nullable(Of Integer)
Dim cancellationToken As CancellationToken
Dim value As Task
 
value = instance.LoadAsync(fromIndex, toIndex, cancellationToken)
[AsyncStateMachine(C1.CollectionView.C1WrapCollectionView`2/d__66)] 
public virtual Task LoadAsync( 
   Nullable<int> fromIndex, 
   Nullable<int> toIndex, 
   CancellationToken cancellationToken 
)

Parameters

fromIndex
The starting index, if not specified this will be 0.
toIndex
The starting index, if not specified this will be Count.
cancellationToken
See Also

Reference

C1WrapCollectionView<S,T> Class
C1WrapCollectionView<S,T> Members